package cn.com.yusys.yusp.admin.domain;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @Author: zoie
 * @Description: 短信发送
 * @Date: 2021/7/7 12:30 下午
 * @Version: 1.0
 */
@Component
public class SendMessageProperties {
    public static String MESUSE;
    public static String MESPAS;
    public static String MESIP;
    public static String SENDPORT;
    public static String GETPORT;

    @Value("${sendMessage.MESUSE}")
    private String mesUse;
    @Value("${sendMessage.MESPAS}")
    private String mesPas;
    @Value("${sendMessage.MES.IP}")
    private String mesIp;
    @Value("${sendMessage.SENDPORT}")
    private String sendPort;
    @Value("${sendMessage.GETPORT}")
    private String getPort;


    @PostConstruct
    public void init() {
        MESUSE = mesUse;
        MESPAS = mesPas;
        MESIP = mesIp;
        SENDPORT = sendPort;
        GETPORT = getPort;

    }


}
